/**
 * Created by yx on 2017/8/22.
 */
var app = angular.module('myApp',[]);
app.controller('myControl',['$scope',function ($scope) {
    $scope.active = 'about';
    $scope.change=function (index) {
        $scope.active = index;
    }
}]);